DCompositionAttachMouseDragToHwnd

Creates an Interaction/InputSink to route mouse button down and any subsequent move and up events to the given HWND. There is no move thresholding; when enabled, all events including and following the down are unconditionally redirected to the specified window. After calling this API, the device owning the visual must be committed.

version(Windows && Direct2D_1_1 && Direct2D_1_0 && DirectComposition)
extern (Windows)
HRESULT
DCompositionAttachMouseDragToHwnd

Meta